package models;

import java.util.Date;
import javax.jdo.annotations.Index;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.PrimaryKey;
import javax.persistence.Id;
import com.google.appengine.api.blobstore.BlobKey;

@Index
public class SolutionAdoption {

	@PrimaryKey
	@Id
	@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)	
	Long	adoptID;
	
	String	adoptCode; //NEWLY ADDED FOR ID TO HAVE REGION CODE ON 25 SEPT
	Long	solID;
	String	solCode; //NEWLY ADDED FOR ID TO HAVE REGION CODE ON 25 SEPT	
	String	solTitle;
	Date	dtImplemented;
	String	adptTeamLead;
	String	adptMembers;
	String	adptOthersMembers;
	String	Customer;
	String	Location;
	String	LocationCode; //NEWLY ADDED BY SRVAN ON 25 SEPT
	String	LocationRegionName; //NEWLY ADDED by SRVAN on Sept 4 for reporting
	String	processArea;
	String	solType; //NEWLY ADDED ON AUG 27 BY SYOUDEE FOR Search PURPOSE - duplicate value from SolutionSubmission
	BlobKey	adptTeamPicKey;
	String	easyRank;
	String 	easyRankDesc;
	String	achievedType;
	String	achievedTypeDesc;
	String	achievedValue;
	String	achievedUnits;
	Float	hardSavings;
	Float	costAvoidance;
	Float	oppurtunityCost;
	boolean	hasHardSavings; //NEWLY ADDED ON AUG 29 BY SYOUDEE FOR SEARCH PURPOSE
	boolean	hasCostAvoidance; //NEWLY ADDED ON AUG 29 BY SYOUDEE FOR SEARCH PURPOSE
	boolean	hasOppurtunityCost;	//NEWLY ADDED ON AUG 29 BY SYOUDEE FOR SEARCH PURPOSE	
	Float 	annProdSavings;
	Float	impDays;
	BlobKey	attachKey;
	String	Comment;
	String  sMonth; //NEWLY ADDED FOR REPORTING PURPOSE - SRVAN ON SEPT 5 
	String  sYear;  //NEWLY ADDED FOR REPORTING PURPOSE - SRVAN ON SEPT 5

	String	submittedBY;
	Date	submittedON;
	String	modifiedBY;
	Date	modifiedON;
	
	public Long getAdoptID() {
		return adoptID;
	}
	public void setAdoptID(Long adoptID) {
		this.adoptID = adoptID;
	}
	public String getAdoptCode() {
		return adoptCode;
	}
	public void setAdoptCode(String adoptCode) {
		this.adoptCode = adoptCode;
	}
	public Long getSolID() {
		return solID;
	}
	public void setSolID(Long solID) {
		this.solID = solID;
	}
	public String getSolCode() {
		return solCode;
	}
	public void setSolCode(String solCode) {
		this.solCode = solCode;
	}
	public String getSolTitle() {
		return solTitle;
	}
	public void setSolTitle(String solTitle) {
		this.solTitle = solTitle;
	}
	public Date getDtImplemented() {
		return dtImplemented;
	}
	public void setDtImplemented(Date dtImplemented) {
		this.dtImplemented = dtImplemented;
	}
	public String getAdptTeamLead() {
		return adptTeamLead;
	}
	public void setAdptTeamLead(String adptTeamLead) {
		this.adptTeamLead = adptTeamLead;
	}
	public String getAdptMembers() {
		return adptMembers;
	}
	public void setAdptMembers(String adptMembers) {
		this.adptMembers = adptMembers;
	}
	public String getAdptOthersMembers() {
		return adptOthersMembers;
	}
	public void setAdptOthersMembers(String adptOthersMembers) {
		this.adptOthersMembers = adptOthersMembers;
	}
	public String getCustomer() {
		return Customer;
	}
	public void setCustomer(String customer) {
		Customer = customer;
	}
	public String getLocation() {
		return Location;
	}
	public void setLocation(String location) {
		Location = location;
	}
	public String getLocationCode() {
		return LocationCode;
	}
	public void setLocationCode(String locationCode) {
		LocationCode = locationCode;
	}
	public String getLocationRegionName() {
		return LocationRegionName;
	}
	public void setLocationRegionName(String locationRegionName) {
		LocationRegionName = locationRegionName;
	}
	public String getProcessArea() {
		return processArea;
	}
	public void setProcessArea(String processArea) {
		this.processArea = processArea;
	}
	public String getSolType() {
		return solType;
	}
	public void setSolType(String solType) {
		this.solType = solType;
	}
	public BlobKey getAdptTeamPicKey() {
		return adptTeamPicKey;
	}
	public void setAdptTeamPicKey(BlobKey adptTeamPicKey) {
		this.adptTeamPicKey = adptTeamPicKey;
	}
	public String getEasyRank() {
		return easyRank;
	}
	public void setEasyRank(String easyRank) {
		this.easyRank = easyRank;
	}
	public String getEasyRankDesc() {
		return easyRankDesc;
	}
	public void setEasyRankDesc(String easyRankDesc) {
		this.easyRankDesc = easyRankDesc;
	}
	public String getAchievedType() {
		return achievedType;
	}
	public void setAchievedType(String achievedType) {
		this.achievedType = achievedType;
	}
	public String getAchievedTypeDesc() {
		return achievedTypeDesc;
	}
	public void setAchievedTypeDesc(String achievedTypeDesc) {
		this.achievedTypeDesc = achievedTypeDesc;
	}
	public String getAchievedValue() {
		return achievedValue;
	}
	public void setAchievedValue(String achievedValue) {
		this.achievedValue = achievedValue;
	}
	public String getAchievedUnits() {
		return achievedUnits;
	}
	public void setAchievedUnits(String achievedUnits) {
		this.achievedUnits = achievedUnits;
	}
	public Float getHardSavings() {
		return hardSavings;
	}
	public void setHardSavings(Float hardSavings) {
		this.hardSavings = hardSavings;
	}
	public Float getCostAvoidance() {
		return costAvoidance;
	}
	public void setCostAvoidance(Float costAvoidance) {
		this.costAvoidance = costAvoidance;
	}
	public Float getOppurtunityCost() {
		return oppurtunityCost;
	}
	public void setOppurtunityCost(Float oppurtunityCost) {
		this.oppurtunityCost = oppurtunityCost;
	}
	public boolean isHasHardSavings() {
		return hasHardSavings;
	}
	public void setHasHardSavings(boolean hasHardSavings) {
		this.hasHardSavings = hasHardSavings;
	}
	public boolean isHasCostAvoidance() {
		return hasCostAvoidance;
	}
	public void setHasCostAvoidance(boolean hasCostAvoidance) {
		this.hasCostAvoidance = hasCostAvoidance;
	}
	public boolean isHasOppurtunityCost() {
		return hasOppurtunityCost;
	}
	public void setHasOppurtunityCost(boolean hasOppurtunityCost) {
		this.hasOppurtunityCost = hasOppurtunityCost;
	}
	public Float getAnnProdSavings() {
		return annProdSavings;
	}
	public void setAnnProdSavings(Float annProdSavings) {
		this.annProdSavings = annProdSavings;
	}
	public Float getImpDays() {
		return impDays;
	}
	public void setImpDays(Float impDays) {
		this.impDays = impDays;
	}
	public BlobKey getAttachKey() {
		return attachKey;
	}
	public void setAttachKey(BlobKey attachKey) {
		this.attachKey = attachKey;
	}
	public String getComment() {
		return Comment;
	}
	public void setComment(String comment) {
		Comment = comment;
	}
	public String getsMonth() {
		return sMonth;
	}
	public void setsMonth(String sMonth) {
		this.sMonth = sMonth;
	}
	public String getsYear() {
		return sYear;
	}
	public void setsYear(String sYear) {
		this.sYear = sYear;
	}
	public String getSubmittedBY() {
		return submittedBY;
	}
	public void setSubmittedBY(String submittedBY) {
		this.submittedBY = submittedBY;
	}
	public Date getSubmittedON() {
		return submittedON;
	}
	public void setSubmittedON(Date submittedON) {
		this.submittedON = submittedON;
	}
	public String getModifiedBY() {
		return modifiedBY;
	}
	public void setModifiedBY(String modifiedBY) {
		this.modifiedBY = modifiedBY;
	}
	public Date getModifiedON() {
		return modifiedON;
	}
	public void setModifiedON(Date modifiedON) {
		this.modifiedON = modifiedON;
	}
	
}
